fix some tree model annotations
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 8 Jul 2010 19:06:55 +0000 (15:06 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 8 Jul 2010 19:06:55 +0000 (15:06 -0400)
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
  revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
  to avoid double frees

gtk/gtktreemodel.c

index dc7a0f849bcb9d92bcfc3c74198d993450a0e155..a48df89ed1e356e7e3d5988235a2be693ea3acb7 100644 (file)
@@ -1175,7 +1175,7 @@ gtk_tree_model_get_value (GtkTreeModel *tree_model,
 /**
  * gtk_tree_model_iter_next:
  * @tree_model: A #GtkTreeModel.
- * @iter: (inout): The #GtkTreeIter.
+ * @iter: The #GtkTreeIter.
  *
  * Sets @iter to point to the node following it at the current level.  If there
  * is no next @iter, %FALSE is returned and @iter is set to be invalid.